﻿/* =typo
---------------------------------------- */
body {
    position:relative;
    z-index:0;
    color:#21383f;
    }

/* =common
---------------------------------------- */

.b-icon {
    position:absolute;
    overflow:hidden;
    background:url(/admin/assets/images/360/sprite24.png) no-repeat 0 0;
    }

/* =sticker
---------------------------------------- */

.b-note {
    font-size:12px;
    position:absolute !important;
    }

.b-sticker {
    position:absolute;
    min-width:250px;
    }

.b-sticker__head {
    border:1px solid #e5e5e5;
    border-bottom:0;
    padding:6px 12px;
    min-height:30px;
    overflow:hidden;
    -webkit-border-radius:5px 5px 0 0;
    -moz-border-radius:5px 5px 0 0;
    border-radius:5px 5px 0 0;
    -moz-background-clip:padding;
    -webkit-background-clip:padding;
    background-clip:padding-box;
    cursor:move;
    }

.b-sticker__body {
    font-size:.916em;
    padding:10px;
    background:#fffdd2;
    border:1px solid #e5e5e5;
    overflow:auto;
    }

.b-sticker__body .b-sticky-button {
    margin-right:4px;
    }

.b-sticker__body-with-comments {
    height:113px;
    }

.b-sticky-button {
    text-decoration:none;
    display:inline-block;
    width:auto;
    visibility:visible;
    line-height:normal;
    font-family:Arial, Helvetica, sans-serif;
    font-size:14px;
    font-weight:bold;
    color:#fff;
    height:auto !important;
    padding:5px 16px 6px;
    border:1px solid #a9be25;
    text-shadow:0 1px 1px rgba(0, 0, 0, 0.30);
    background:#b5cc24;
    background-image:-moz-linear-gradient(top, #b5cc24 0%, #9cb915 100%);
    background-image:-webkit-gradient(linear, left top, left bottom, color-stop(0%, #b5cc24), color-stop(100%, #9cb915));
    background-image:-webkit-linear-gradient(top, #b5cc24 0%, #9cb915 100%);
    background-image:-o-linear-gradient(top, #b5cc24 0, #9cb915 100%);
    background-image:-ms-linear-gradient(top, #b5cc24 0%, #9cb915 100%);
    background-image:linear-gradient(top, #b5cc24 0, #9cb915 100%);
    -moz-box-shadow:inset 0 2px 2px rgba(255, 255, 255, 0.36), 0 1px 1px rgba(0, 0, 0, 0.55);
    -webkit-box-shadow:inset 0 2px 2px rgba(255, 255, 255, 0.36), 0 1px 1px rgba(0, 0, 0, 0.55);
    box-shadow:inset 0 2px 2px rgba(255, 255, 255, 0.36), 0 1px 1px rgba(0, 0, 0, 0.55);
    -webkit-border-radius:3px;
    -moz-border-radius:3px;
    border-radius:3px;
    cursor:pointer;
    }

.b-sticky-button:hover {
    border-color:#5fa9de;
    background:#79caff;
    color:#fff;
    background-image:-moz-linear-gradient(top, #79caff 0%, #3ea2ff 100%);
    background-image:-webkit-gradient(linear, left top, left bottom, color-stop(0%, #79caff), color-stop(100%, #3ea2ff));
    background-image:-webkit-linear-gradient(top, #79caff 0%, #3ea2ff 100%);
    background-image:-o-linear-gradient(top, #79caff 0, #3ea2ff 100%);
    background-image:-ms-linear-gradient(top, #79caff 0%, #3ea2ff 100%);
    background-image:linear-gradient(top, #79caff 0, #3ea2ff 100%);
    }

.b-sticky-button_small {
    font-weight:bold;
    font-size:12px;
    padding:4px 10px;
    text-shadow:none;
    }

.b-sticky-button_colour_grey {
    color:#666;
    border-color:#ccc;
    background:#ebebeb;
    background-image:-moz-linear-gradient(top, #ebebeb 0%, #dadada 100%);
    background-image:-webkit-gradient(linear, left top, left bottom, color-stop(0%, #ebebeb), color-stop(100%, #dadada));
    background-image:-webkit-linear-gradient(top, #ebebeb 0%, #dadada 100%);
    background-image:-o-linear-gradient(top, #ebebeb 0, #dadada 100%);
    background-image:-ms-linear-gradient(top, #ebebeb 0%, #dadada 100%);
    background-image:linear-gradient(top, #ebebeb 0, #dadada 100%);
    }

.b-sticker__separator {
    width:1px;
    height:30px;
    margin:0 15px;
    border-left:1px solid #ccc; /* for IE */
    border-left:1px solid rgba(0, 0, 0, 0.1);
    float:right;
    }

.b-sticker input,
.b-popup input {
    cursor:pointer;
    border:0;
    }

.b-sticker__head input {
    padding:0;
    float:right;
    }

.b-sticker__edit {
    width:13px;
    height:14px;
    margin:3px 6px -3px 0;
    background:url(/admin/assets/images/360/sprite24.png) no-repeat -232px -149px;
    }

.b-sticker__count-comment {
    margin:6px 0 0;
    position:absolute;
    right:69px;
    text-align:right;
    width:95px;
    }

.b-sticker__max-min {
    width:24px;
    height:18px;
    margin:6px 0 0;
    background:url(/admin/assets/images/360/sprite24.png) no-repeat -100px -16px;
    }

.b-sticker__max-min_maximize {
    background-position:-124px -16px;
    }

.b-sticker__delete {
    width:21px;
    height:22px;
    margin:5px 0 0;
    background:url(/admin/assets/images/360/sprite24.png) no-repeat -166px -16px;
    position:absolute;
    right:15px;
    }

.b-sticker__user {
    font-size:1.4em;
    float:left;
    padding:0 0 0 30px;
    margin:3px 85px 0 0;
    min-width:90px;
    line-height:normal;
    /*white-space: pre;         *//* CSS2 *//*
    white-space: pre-wrap; *//* CSS 2.1 *//*
    white-space: pre-line;   *//* CSS 2.1/3 *//*
    white-space: -moz-pre-wrap !important; *//* Mozilla *//*
    white-space: -hp-pre-wrap;   *//* HP printers *//*
    white-space: -o-pre-wrap;     *//* Opera 7 *//*
    white-space: -pre-wrap;       *//* Opera 4-6 *//*
    word-wrap: break-word;       *//* Internet Explorer 5.5+ */
    white-space:nowrap;
    }

.b-sticker__arrow {
    width:0;
    height:0;
    border-style:solid;
    border-width:10px 20px 10px 0;
    position:absolute;
    left:-19px;
    top:12px;
    }

.b-sticker_right .b-sticker__arrow {
    margin-left:100%;
    left:-1px;
    border-right:0;
    border-width:10px 0 10px 20px;
    }

.b-sticker__user .b-icon {
    width:22px;
    height:23px;
    background-position:-78px -16px;
    margin:0 0 0 -30px;
    }

.b-sticker .counter {
    float:right;
    padding:7px 0 0;
    }

.b-sticker__annotation {
    margin:0 0 1.5em;
    }

.b-sticker__comment {
    padding:9px;
    margin:0 0 10px;
    border:1px solid #e5e5e5;
    -webkit-border-radius:6px;
    -moz-border-radius:6px;
    border-radius:6px;
    }

.b-sticker__comment__user {
    font-size:1.272em;
    font-weight:bold;
    float:left;
    padding:0 0 0 29px;
    margin:0 9px 0 0;
    position:relative;
    }

.b-sticker__comment__user .b-icon {
    width:20px;
    height:20px;
    background-position:-212px -149px;
    margin:-3px 0 0 -29px;
    }

.b-sticker__comment__delete {
    width:13px;
    height:16px;
    float:left;
    margin:1px 10px 0 0;
    padding:0;
    background:url(/admin/assets/images/360/sprite24.png) no-repeat -232px -163px;
    }

.b-sticker__comment__edit {
    width:13px;
    height:14px;
    margin:3px 0 0 0;
    padding:0;
    background:url(/admin/assets/images/360/sprite24.png) no-repeat -232px -149px;
    }

.b-sticker__head .b-sticker__add {
    width:16px;
    height:16px;
    padding:0;
    background:url(/admin/assets/images/360/sprite24.png) no-repeat -30px -28px;
    margin:7px 3px 0 9px;
    position:absolute;
    right:40px;
    }

.b-sticker__comment__text {
    clear:both;
    padding:8px 0 0;
    }

#fade {
    display:none;
    background:#e5e5e5;
    position:fixed;
    left:0;
    top:0;
    width:100%;
    height:100%;
    opacity:.8;
    -moz-opacity:.8;
    filter:~"alpha(opacity = 80)";
    z-index:9999;
    }

.b-popup {
    width:400px;
    background:#fff;
    padding:10px;
    position:fixed;
    top:50%;
    left:50%;
    z-index:99999;
    -moz-box-shadow:-2px 2px 2px rgba(0, 0, 0, 0.1);
    -webkit-box-shadow:-2px 2px 2px rgba(0, 0, 0, 0.1);
    box-shadow:-2px 2px 2px rgba(0, 0, 0, 0.1);
    }

.b-popup .textarea {
    margin:0 0 10px;
    overflow:auto;
    width:390px;
    height:120px;
    }

.b-popup__head {
    padding:0 0 10px;
    }

.b-popup__footer {
    padding:0 0 5px;
    }

.b-popup__title {
    font-size:1em;
    line-height:normal;
    }

.b-popup .close {
    float:right;
    width:16px;
    height:16px;
    background:url(/admin-custom/assets/images/delete_item.png) no-repeat 0 0;
    }

.hidden {
    display:none;
    }

/* =add new annotation
---------------------------------------- */

.b-add-sticker {
    width:263px;
    border:2px solid #999;
    position:absolute;
    top:2em;
    left:2em;
    -webkit-border-radius:5px;
    -moz-border-radius:5px;
    border-radius:5px;
    background-color:#FFF;
    }

.b-add-sticker__head,
.b-add-sticker__body {
    padding:10px;
    }

.b-add-sticker__body {
    border-top:2px solid #999;
    }

.b-add-sticker__title {
    font-size:16px;
    line-height:1;
    font-weight:normal;
    }

.b-add-sticker__ref {
    font-size:14px;
    margin:0 0 10px;
    }

.b-add-sticker__ref small {
    font-size:12px;
    color:#333;
    }

.b-add-sticker__body .b-sticky-button {
    margin:0 4px 8px 0;
    vertical-align:top;
    }

.b-legend {
    list-style:none;
    margin:0;
    padding:0 0 10px;
    font-size:12px;
    }

.b-legend__item {
    width:100px;
    padding:0 0 5px 20px;
    display:inline-block;
    position:relative;
    zoom:1;
    }

.b-legend .b-icon {
    width:16px;
    height:16px;
    margin:0 0 0 -20px;
    -webkit-border-radius:2px;
    -moz-border-radius:2px;
    border-radius:2px;
    }

.b-icon_expand_min {
    background-position:-82px 0;
    }

.b-icon_expand_max {
    background-position:-67px 0;
    }

.b-icon_expand_min:hover {
    background-position:-112px 0;
    }

.b-icon_expand_max:hover {
    background-position:-97px 0;
    }

textarea.annotation-editable, textarea.annotation-comment-editable {
    width:253px;
    clear:both;
    margin-bottom:4px;
    float:none;
    display:block;
    font-family:Arial, Helvetica, sans-serif;
    border:1px solid #90adc6;
    padding:3px 4px;
    }